﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TradingChannelsAnalyse.aspx.cs"
    Inherits="AnalyseCRM.Operation.TradingChannelsAnalyse" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>证券智能营销分析系统之交易渠道分析</title>
    <link href="../Styles/index.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/style.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/common.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="../Scripts/jquery-1.4.1-vsdoc.js" type="text/javascript"></script>
    <script type="text/javascript" src="../Scripts/jquery-ui-1.9.1.custom/js/jquery-1.8.2.js"></script>
    <script type="text/javascript" src="../Highcharts/js/highcharts.js"></script>
    <script src="../Scripts/jquery.form.js" type="text/javascript"></script>
    <script src="../Scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript" src="../Scripts/Common.js"></script>
    <script src="../Scripts/xdate.js" type="text/javascript"></script>
    <script type="text/javascript">
        
        $("#btnSearch").click(function(){
        });


        $(document).ready(function () {
            var firstDate = new Date();
            firstDate.setDate(1); //第一天
            var endDate = new Date(firstDate);
            endDate.setMonth(firstDate.getMonth());
            endDate.setDate(0);
            var strLastMoney = endDate.getFullYear()+"-"+(endDate.getMonth()+1)+ "-" +endDate.getDate();
            
            $("#SelDate").val(strLastMoney);
            var EndDate = $("#SelDate").val();
             $("#chk1")[0].checked = true;
             $("#chk3")[0].checked = true;
             $("#chk5")[0].checked = true;
             $("#chk7")[0].checked = true;
             $("#chk9")[0].checked = true;
             $("#chk11").attr('checked', true);
             SetChartAll("F03001", "0",'line','Map1',EndDate)
             SetChartAll("F03002", "0",'column','Map2',EndDate)
             SetChartAll("F03003", "0",'bar','Map3',EndDate)
             SetChartAll("F03004", "0",'column','Map4',EndDate)
             SetChartAll("F03005", "0",'line','Map5',EndDate)
             SetChartAll("F03006", "0",'column','Map6',EndDate)
             SetChartAll("F03007", "0",'line','Map7',EndDate)
             SetChartAll("F03008", "0",'column','Map8',EndDate)

            // SetChartAll("F03001", "0",'line','Map1')
            $("#chk1").click(function () {
                var EndDate = $("#SelDate").val();
                if( EndDate == ""){
                    alert("请选择日期！");
                    return ;
                }
                if($("#chk1")[0].checked == true ) {
                    $("#chk2")[0].checked = false;
                    SetChartAll("F03001", "0",'line','Map1',EndDate)
                }
            });

            $("#chk2").click(function () {
                var EndDate = $("#SelDate").val();
                if( EndDate == ""){
                    alert("请选择日期！");
                    return ;
                }
                if($("#chk2")[0].checked == true) {
                    $("#chk1")[0].checked = false;
                    SetChartAll("F03001", "1",'line','Map1',EndDate)
                }
            });

           $("#chk3").click(function () {
                var EndDate = $("#SelDate").val();
                if( EndDate == ""){
                    alert("请选择日期！");
                    return ;
                }
                if($("#chk3")[0].checked == true) {
                    $("#chk4")[0].checked = false;
                    SetChartAll("F03002", "0",'column','Map2',EndDate)
                }
            });


           $("#chk4").click(function () {
                var EndDate = $("#SelDate").val();
                if( EndDate == ""){
                    alert("请选择日期！");
                    return ;
                }
                if($("#chk4")[0].checked == true) {
                    $("#chk3")[0].checked = false;
                    SetChartAll("F03002", "1",'column','Map2',EndDate)
                }
            });


            
           $("#chk5").click(function () {
                var EndDate = $("#SelDate").val();
                if( EndDate == ""){
                    alert("请选择日期！");
                    return ;
                }
                if($("#chk5")[0].checked == true) {
                    $("#chk6")[0].checked = false;
                    SetChartAll("F03003", "0",'bar','Map3',EndDate)
                }
            });


            
           $("#chk6").click(function () {
                var EndDate = $("#SelDate").val();
                if( EndDate == ""){
                    alert("请选择日期！");
                    return ;
                }
                if($("#chk6")[0].checked == true) {
                    $("#chk5")[0].checked = false;
                    SetChartAll("F03003", "1",'bar','Map3',EndDate)
                }
            });



            $("#chk7").click(function () {
                var EndDate = $("#SelDate").val();
                if( EndDate == ""){
                    alert("请选择日期！");
                    return ;
                }
                if($("#chk7")[0].checked == true) {
                    $("#chk8")[0].checked = false;
                    SetChartAll("F03004", "0",'column','Map4',EndDate)
                }
            });


            
           $("#chk8").click(function () {
                var EndDate = $("#SelDate").val();
                if( EndDate == ""){
                    alert("请选择日期！");
                    return ;
                }
                if($("#chk8")[0].checked == true) {
                    $("#chk7")[0].checked = false;
                    SetChartAll("F03004", "1",'column','Map4',EndDate)
                }
            });


            $("#chk9").click(function () {
                var EndDate = $("#SelDate").val();
                if( EndDate == ""){
                    alert("请选择日期！");
                    return ;
                }
                if($("#chk9")[0].checked == true) {
                    $("#chk10")[0].checked = false;
                    SetChartAll("F03005", "0",'line','Map5',EndDate)
                }
            });


            
           $("#chk10").click(function () {
                var EndDate = $("#SelDate").val();
                if( EndDate == ""){
                    alert("请选择日期！");
                    return ;
                }
                if($("#chk10")[0].checked == true) {
                    $("#chk9")[0].checked = false;
                    SetChartAll("F03005", "1",'line','Map5',EndDate)
                }
            });


           $("#chk11").click(function () {
                var EndDate = $("#SelDate").val();
                if( EndDate == ""){
                    alert("请选择日期！");
                    return ;
                }
                $("#chk12").attr('checked', false);
                $("#chk13").attr('checked', false);
                $("#chk14").attr('checked', false);
                $("#chk15").attr('checked', false);
                SetChartAll("F03006", "0",'column','Map6',EndDate)
                SetChartAll("F03007", "0",'line','Map7',EndDate)
                SetChartAll("F03008", "0",'column','Map8',EndDate)
            });

           $("#chk12").click(function () {
                $("#chk11").attr('checked', false);
                $("#chk13").attr('checked', false);
                $("#chk14").attr('checked', false);
                $("#chk15").attr('checked', false);
                SetChartAll("F03006", "1",'column','Map6',EndDate)
                SetChartAll("F03007", "1",'line','Map7',EndDate)
                SetChartAll("F03008", "1",'column','Map8',EndDate)
            });

           $("#chk13").click(function () {
                $("#chk11").attr('checked', false);
                $("#chk12").attr('checked', false);
                $("#chk14").attr('checked', false);
                $("#chk15").attr('checked', false);
                SetChartAll("F03006", "2",'column','Map6',EndDate)
                SetChartAll("F03007", "2",'line','Map7',EndDate)
                SetChartAll("F03008", "2",'column','Map8',EndDate)
            });

            $("#chk14").click(function () {
                $("#chk11").attr('checked', false);
                $("#chk12").attr('checked', false);
                $("#chk13").attr('checked', false);
                $("#chk15").attr('checked', false);
                SetChartAll("F03006", "3",'column','Map6',EndDate)
                SetChartAll("F03007", "3",'line','Map7',EndDate)
                SetChartAll("F03008", "3",'column','Map8',EndDate)
            });


            $("#chk15").click(function () {
                if($("#chk15")[0].checked == true) {
                    $("#chk11")[0].checked = false;
                    $("#chk12")[0].checked = false;
                    $("#chk13")[0].checked = false;
                    $("#chk14")[0].checked = false;
                    SetChartAll("F03006", "4",'column','Map6',EndDate)
                    SetChartAll("F03007", "4",'line','Map7',EndDate)
                    SetChartAll("F03008", "4",'column','Map8',EndDate)
                }
            });


            $("#btnSearch2").click(function () {
               var strCondition = "";
               if( ($("#chk16")[0].checked == false ) && ($("#chk17")[0].checked == false ) && ($("#chk18")[0].checked == false)){
                    alert("请选择一项");
                    return;
               }
               if( $("#chk16")[0].checked == true) {
                    if( $("#txtJY01").val() == ""){
                        alert("交易次数必须填写");
                        return;
                    }
                    if( $("#txtJY02").val() == ""){
                        alert("交易次数必须填写");
                        return;
                    }
                    strCondition += $("#txtJY01").val() + "#" + $("#txtJY02").val() + "$"
               }
               else{
                    strCondition += "0#0$"
               }
               if($("#chk17")[0].checked == true) {
                    if( $("#txtMon01").val() == ""){
                        alert("交易金额必须填写");
                        return;
                    }
                    if( $("#txtMon02").val() == ""){
                        alert("交易金额必须填写");
                        return;
                    }
                    strCondition += $("#txtMon01").val() + "#" + $("#txtMon02").val() + "$"
               }
               else{
                   strCondition += "0#0$";
               }
               if($("#chk18")[0].checked == true) {
                    if( $("#txtOneMon01").val() == ""){
                        alert("单笔交易金额必须填写");
                        return;
                    }
                    if( $("#txtOneMon02").val() == ""){
                        alert("单笔交易金额必须填写");
                        return;
                    }
                   strCondition +=  $("#txtOneMon01").val() + "#" + $("#txtOneMon02").val() + ""
               }
               else{
                   strCondition += "0#0";
               }
               
               SetChartAll2("F03009",'column','Map9',EndDate,strCondition);
               SetChartAll2("F03010", 'column','Map10',EndDate,strCondition);
               SetChartAll2("F03011",'column','Map11',EndDate,strCondition);

                if (!arguments[0]) cPage = _cPage;
                if (!arguments[1]) pSize = 7; //  _pSize;
                pSize = 7;

               SetGrid1(EndDate,strCondition);

            });



            //导出接触数据ExPort
            $("#ExPort").click(function () {
                var EndDate = $("#SelDate").val();
                if( EndDate == ""){
                    alert("请选择日期！");
                    return ;
                }
               var strCondition = "";
               if( ($("#chk16")[0].checked == false ) && ($("#chk17")[0].checked == false ) && ($("#chk18")[0].checked == false)){
                    alert("请选择一项");
                    return;
               }
               if( $("#chk16")[0].checked == true) {
                    if( $("#txtJY01").val() == ""){
                        alert("交易次数必须填写");
                        return;
                    }
                    if( $("#txtJY02").val() == ""){
                        alert("交易次数必须填写");
                        return;
                    }
                    strCondition += $("#txtJY01").val() + "#" + $("#txtJY02").val() + "$"
               }
               else{
                    strCondition += "0#0$"
               }
               if($("#chk17")[0].checked == true) {
                    if( $("#txtMon01").val() == ""){
                        alert("交易金额必须填写");
                        return;
                    }
                    if( $("#txtMon02").val() == ""){
                        alert("交易金额必须填写");
                        return;
                    }
                    strCondition += $("#txtMon01").val() + "#" + $("#txtMon02").val() + "$"
               }
               else{
                   strCondition += "0#0$";
               }
               if($("#chk18")[0].checked == true) {
                    if( $("#txtOneMon01").val() == ""){
                        alert("单笔交易金额必须填写");
                        return;
                    }
                    if( $("#txtOneMon02").val() == ""){
                        alert("单笔交易金额必须填写");
                        return;
                    }
                   strCondition +=  $("#txtOneMon01").val() + "#" + $("#txtOneMon02").val() + ""
               }
               else{
                   strCondition += "0#0";
               }
                $.ajax({
                    type: "POST",
                    contentType: "application/json", //WebService 会返回Json类型
                    url: "/InteractiveData/TradingChannelsAnalyseAjax.aspx/GetGridDataAll",
                    data: "{strEndDate:'" + EndDate + "',strWhere:'"+ strCondition+"'}",
                    dataType: 'json',
                    success: function (dataMsg) {
                        if (dataMsg.d == "") {
                            return "";
                        }
                        ExportContactToExcel(dataMsg.d);
                    }
                });
           });

          function ExportContactToExcel(message) //读取表格中每个单元到EXCEL中  
          {
                 try {
                    //var curTbl = document.getElementById(tableId);
                    var oXL = new ActiveXObject("Excel.Application");
                    //创建AX对象excel  
                    var oWB = oXL.Workbooks.Add();
                    //获取workbook对象  
                    var oSheet = oWB.ActiveSheet;

                    //var lenRow = rowcount; // curTbl.rows.length;
                    //取得表格行数              
                    oSheet.Cells(1, 1).value = "客户号";
                    oSheet.Cells(1, 2).value = "交易日期";
                    oSheet.Cells(1, 3).value = "证劵代码";
                    oSheet.Cells(1, 4).value = "证券类型";
                    oSheet.Cells(1, 5).value = "交易份额";
                    oSheet.Cells(1, 6).value = "交易金额";
                    oSheet.Cells(1, 7).value = "交易渠道";
                    oSheet.Cells(1, 8).value = "交易类型";
                    var list = eval("(" + message + ")").TradingChannelsMana;
                    oSheet.Columns(2).NumberFormatLocal = "@";
                    oSheet.Columns(3).NumberFormatLocal = "@";
                    for (var i = 0; i < list.length; i++) {
                        var data = list[i];
                        oSheet.Cells(i + 2, 1).value = data.GUESTNO;
                        oSheet.Cells(i + 2, 2).value = data.COUNTMM;
                        oSheet.Cells(i + 2, 3).value = data.ZJCODE;
                        oSheet.Cells(i + 2, 4).value = data.ZJTYPE;
                        oSheet.Cells(i + 2, 5).value = data.TRANSACTIONMENOY;
                        oSheet.Cells(i + 2, 6).value = data.TRANSACTIONQD;
                        oSheet.Cells(i + 2, 7).value = data.TRANSACTIONTYPE;
                    }
                oXL.Visible = true;
                //oXL.Application.Quit();
                //设置excel可见属性  
                 } 
                 catch (e) {
                    if ((! +'\v1')) { //ie浏览器  
                        alert("无法启动Excel，请确保电脑中已经安装了Excel!\n\n如果已经安装了Excel，" + "请调整IE的安全级别。\n\n具体操作：\n\n" + "工具 → Internet选项 → 安全 → 自定义级别 → ActiveX 控件和插件 → 对未标记为可安全执行脚本的ActiveX 控件初始化并执行脚本 → 启用 → 确定");
                    } else {
                        alert("请使用IE浏览器进行“导入到EXCEL”操作！");  //方便设置安全等级，限制为ie浏览器  
                    }
                } finally {
                    oXL.Application.Quit();
                }
             }  

           function SetChartAll2(pValue,MapType,MapId,EndDate,where) {
                $.ajax({
                    type: "POST",
                    contentType: "application/json", //WebService 会返回Json类型
                    url: "/InteractiveData/TradingChannelsAnalyseAjax.aspx/buildHtml2",
                    data: "{parValueID:'" + pValue + "',EndDate:'" + EndDate + "',strWhere:'" + where +"'}",
                    dataType: 'json',
                    success: function (dataMsg) {
                        if (dataMsg.d == "") {
                            return "";
                        }
                        var data = eval("(" + dataMsg.d.toString() + ")");
                        var chart = new Highcharts.Chart({
                           chart: {
                               renderTo: MapId,
                               type: MapType
                           },
                           title: {
                               text: data.charttitle
                           },
                           credits: {  
                                enabled: false     //去掉highcharts网站url  
                           } ,
                           xAxis: {
                               categories: eval(data.categories),
                           },
                           yAxis: {
                               title: {
                                   text: ''
                               },
                               labels: {
                                   formatter: function() {
                                       return this.value +''
                                   }
                               }
                           },
                           tooltip: {
                               crosshairs: true,
                               shared: true
                           },
                           plotOptions: {
                               column: {
                                   stacking: 'normal',
                                   dataLabels: {
                                       enabled: true,
                                       color: (Highcharts.theme && Highcharts.theme.dataLabelsColor) || '#110304'
                                   }
                               }
                           },
                           series: [{
                                   name:data.seriesname,
                                   data: eval(data.seriesdata)
                               }]
                       });
                    }
                });
            }



            function SetChartAll(pValue, pType,MapType,MapId,EndDate) {
                $.ajax({
                    type: "POST",
                    contentType: "application/json", //WebService 会返回Json类型
                    url: "/InteractiveData/TradingChannelsAnalyseAjax.aspx/buildHtml",
                    data: "{parValueID:'" + pValue + "',parType:'" + pType + "',EndDate:'" + EndDate +"'}",
                    dataType: 'json',
                    success: function (dataMsg) {
                        if (dataMsg.d == "") {
                            return "";
                        }
                        var data = eval("(" + dataMsg.d.toString() + ")");
                        var chart = new Highcharts.Chart({
                           chart: {
                               renderTo: MapId,
                               type: MapType
                           },
                           title: {
                               text: data.charttitle
                           },
                           credits: {  
                                enabled: false     //去掉highcharts网站url  
                           } ,
                           xAxis: {
                               categories: eval(data.categories),
                           },
                           yAxis: {
                               title: {
                                   text: ''
                               },
                               labels: {
                                   formatter: function() {
                                       return this.value +''
                                   }
                               }
                           },
                           tooltip: {
                               crosshairs: true,
                               shared: true
                           },
                           plotOptions: {
                               column: {
                                   stacking: 'normal',
                                   dataLabels: {
                                       enabled: true,
                                       color: (Highcharts.theme && Highcharts.theme.dataLabelsColor) || '#110304'
                                   }
                               }
                           },
                           series: [{
                                   name:data.seriesname,
                                   data: eval(data.seriesdata)
                               }]
                       });
                    }
                });
            }
        });


        function SetPagerNo(cPage) {
                var EndDate = $("#SelDate").val();
                if( EndDate == ""){
                    alert("请选择日期！");
                    return ;
                }
               var strCondition = "";
               if( ($("#chk16")[0].checked == false ) && ($("#chk17")[0].checked == false ) && ($("#chk18")[0].checked == false)){
                    alert("请选择一项");
                    return;
               }
               if( $("#chk16")[0].checked == true) {
                    if( $("#txtJY01").val() == ""){
                        alert("交易次数必须填写");
                        return;
                    }
                    if( $("#txtJY02").val() == ""){
                        alert("交易次数必须填写");
                        return;
                    }
                    strCondition += $("#txtJY01").val() + "#" + $("#txtJY02").val() + "$"
               }
               else{
                    strCondition += "0#0$"
               }
               if($("#chk17")[0].checked == true) {
                    if( $("#txtMon01").val() == ""){
                        alert("交易金额必须填写");
                        return;
                    }
                    if( $("#txtMon02").val() == ""){
                        alert("交易金额必须填写");
                        return;
                    }
                    strCondition += $("#txtMon01").val() + "#" + $("#txtMon02").val() + "$"
               }
               else{
                   strCondition += "0#0$";
               }
               if($("#chk18")[0].checked == true) {
                    if( $("#txtOneMon01").val() == ""){
                        alert("单笔交易金额必须填写");
                        return;
                    }
                    if( $("#txtOneMon02").val() == ""){
                        alert("单笔交易金额必须填写");
                        return;
                    }
                   strCondition +=  $("#txtOneMon01").val() + "#" + $("#txtOneMon02").val() + ""
               }
               else{
                   strCondition += "0#0";
               }
               SetGrid1(EndDate,strCondition, cPage);
           }


           function SetGrid1(EndDate,where,cPage) {
                if (!arguments[2]) cPage = _cPage;
                pSize = 7;
                $.ajax({
                    type: "POST",
                    contentType: "application/json", //WebService 会返回Json类型
                    url: "/InteractiveData/TradingChannelsAnalyseAjax.aspx/GetGridData",
                    data: "{strEndDate:'" + EndDate + "',strWhere:'"+ where+"',FromPage:'"+ cPage+"'}",
                    dataType: 'json',
                    success: function (dataMsg) {
                        jQuery("#search_result").html("");
                        jQuery("#pager_container").html("");
                        
                        if (dataMsg.d == "") {
                            return "";
                        }
                        var varList = dataMsg.d.split('$');
                        if( varList.length>1){
                            BindQueryList(varList[0]);
                            SetPager(cPage,varList[1], "#pager_container", pSize);
                        }
                    }
                });
             }

                     // 绑定查询记录
        function BindQueryList(message) {
            var oHtml = "";
            
            if (message == "none") { $("#search_result").html("<tr><td colspan=9>未查询到相关记录！</td></tr>"); return; }
            var list = eval("(" + message + ")").TradingChannelsMana;
            for (var i = 0; i < list.length; i++) {
                var data = list[i];
                oHtml += "<tr>";                             
                oHtml += "<td>" + data.GUESTNO + "</td>";
                oHtml += "<td>" + data.COUNTMM + "</td>";
                oHtml += "<td>" + data.ZJCODE + "</td>";
                oHtml += "<td>" + data.ZJTYPE + "</td>";
                oHtml += "<td>" + data.TRANSACTIONMENOY + "</td>";
                oHtml += "<td>" + data.TRANSACTIONQD + "</td>";
                oHtml += "<td>" + data.TRANSACTIONTYPE + "</td>";
                oHtml += "</tr>";
            }
            jQuery("#search_result").html(oHtml);
            parent.window.iFrameHeight();
        }

    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div class="Pathlist">
        <ul>
            <li><a><strong>您当前所在的位置：</strong>交易渠道分析 ><strong>交易渠道分析</strong></a></li>
            <li class="Pathlistright"><a>请选择统计日期：<input class="Pathlistrighttext" onclick="WdatePicker()"
                id="SelDate" type="text" />
                <img alt="" onclick="WdatePicker({el:'SelDate'})" src="../Scripts/My97DatePicker/skin/datePicker.gif"
                    width="16" height="22" align="absmiddle"><span><input class="Pathlistrightbottom"
                        id="btnSearch" type="button" border="0" value="查 询" /></span></a></li>
        </ul>
    </div>
    <div class="wrapper">
        <!--风格一，sharp color1-->
        <div class="wrapperbox">
            <div class="redline">
                <span></span><a>交易渠道活跃度分析</a></div>
            <ul>
                <li>
                    <div class="sharp color1">
                        <b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b>
                        <div class="content">
                            <div class="content-top">
                                <a>各交易渠道交易次数统计</a><span><img alt="" src="/Images/bigicon.png" width="14" height="14" /></span></div>
                            <div class="Checkboxes">
                                <a>
                                    <input id="chk1" name="chk1" type="checkbox" value="" />最近一个月</a> <a>
                                        <input id="chk2" type="checkbox" value="" />最近六个月</a>
                            </div>
                            <div class="contentbox" id="Map1">
                            </div>
                        </div>
                        <b class="b5"></b><b class="b6"></b><b class="b7"></b><b class="b8"></b>
                    </div>
                </li>
                <li>
                    <div class="sharp color1">
                        <b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b>
                        <div class="content">
                            <div class="content-top">
                                <a>各交易渠道交易金额统计</a><span>
                                    <img alt="" src="/Images/bigicon.png" width="14" height="14" /></span></div>
                            <div class="Checkboxes">
                                <a>
                                    <input id="chk3" type="checkbox" value="" />最近一个月</a> <a>
                                        <input id="chk4" type="checkbox" value="" />最近六个月</a>
                            </div>
                            <div class="contentbox" id="Map2">
                            </div>
                        </div>
                        <b class="b5"></b><b class="b6"></b><b class="b7"></b><b class="b8"></b>
                    </div>
                </li>
                <li>
                    <div class="sharp color1">
                        <b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b>
                        <div class="content">
                            <div class="content-top">
                                <a>各交易渠道交易人数统计计</a><span><img src="/Images/bigicon.png" width="14" height="14" /></span></div>
                            <div class="Checkboxes">
                                <a>
                                    <input id="chk5" type="checkbox" value="" />最近一个月</a> <a>
                                        <input id="chk6" type="checkbox" value="" />最近六个月</a>
                            </div>
                            <div class="contentbox" id="Map3">
                            </div>
                        </div>
                        <b class="b5"></b><b class="b6"></b><b class="b7"></b><b class="b8"></b>
                    </div>
                </li>
            </ul>
        </div>
        <div class="wrapperbox">
            <div class="redline">
                <span></span><a>交易渠道佣金贡献分析</a></div>
            <ul>
                <li>
                    <div class="sharp color1">
                        <b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b>
                        <div class="content">
                            <div class="content-top">
                                <a>各交易渠道佣金贡献额统计</a><span><img alt="" src="/Images/bigicon.png" width="14" height="14" /></span></div>
                            <div class="Checkboxes">
                                <a>
                                    <input id="chk7" type="checkbox" value="" />最近一个月</a> <a>
                                        <input id="chk8" type="checkbox" value="" />最近六个月</a>
                            </div>
                            <div id="Map4" class="contentbox">
                            </div>
                        </div>
                        <b class="b5"></b><b class="b6"></b><b class="b7"></b><b class="b8"></b>
                    </div>
                </li>
                <li>
                    <div class="sharp color1">
                        <b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b>
                        <div class="content">
                            <div class="content-top">
                                <a>各交易渠道人均佣金贡献额统计</a><span><img alt="" src="/Images/bigicon.png" width="14" height="14" /></span></div>
                            <div class="Checkboxes">
                                <a>
                                    <input id="chk9" type="checkbox" value="" />最近一个月</a> <a>
                                        <input id="chk10" type="checkbox" value="" />最近六个月</a>
                            </div>
                            <div id="Map5" class="contentbox">
                            </div>
                        </div>
                        <b class="b5"></b><b class="b6"></b><b class="b7"></b><b class="b8"></b>
                    </div>
                </li>
            </ul>
        </div>
        <div class="redline">
            <span></span><a>交易渠道异常交易分析</a></div>
        <div class="Graysharp color2">
            <b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b>
            <div class="content">
                <div class="GrayCheckboxes">
                    <a>
                        <input id="chk11" type="radio" value="" />通信达</a> <a>
                            <input id="chk12" type="radio" value="" />交易柜台</a> <a>
                                <input id="chk13" type="radio" value="" />WEB交易</a> <a>
                                    <input id="chk14" type="radio" value="" />语音系统</a> <a>
                                        <input id="chk15" type="radio" value="" />程序化交易</a></div>
                <div class="Graycontentbox">
                    <ul>
                        <li>
                            <div class="block">
                                <div class="blockcontent" id="Map6">
                                </div>
                            </div>
                        </li>
                        <li>
                            <div class="block">
                                <div class="blockcontent" id="Map7">
                                </div>
                                &nbsp;</div>
                        </li>
                        <li>
                            <div class="block">
                                <div class="block_top">
                                    <div class="blockcontent" id="Map8">
                                    </div>
                                    &nbsp;</div>
                        </li>
                    </ul>
                </div>
            </div>
            <b class="b5"></b><b class="b6"></b><b class="b7"></b><b class="b8"></b>
        </div>
        <div class="Graysharp color2">
            <b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"><span class="blockcontent">
                <img alt="" src="/Images/jiaoyibanner01.png" width="421" height="238" /></span></b>
            <div class="content">
                <div class="Grayinput">
                    <a>
                        <h4>
                            交易异常查询:</h4>
                    </a><span class="Grayinput01">
                        <input id="chk16" type="checkbox" value="" />
                        近三个月交易次数：
                        <input id="txtJY01" type="text" size="12" onkeyup="value=value.replace(/[^\d]/g,'')" />-
                        <input id="txtJY02" type="text" size="12" onkeyup="value=value.replace(/[^\d]/g,'')" />
                        次 </span><span class="Grayinput01">
                            <input id="chk17" type="checkbox" value="" />
                            近三个月交易金额：
                            <input id="txtMon01" type="text" size="12" onkeyup="value=value.replace(/[^\d]/g,'')" />
                            -
                            <input id="txtMon02" type="text" size="12" onkeyup="value=value.replace(/[^\d]/g,'')" />
                            元 </span><a>
                                <input id="chk18" type="checkbox" value="" />
                                近三个月单笔交易金额：
                                <input id="txtOneMon01" type="text" size="12" onkeyup="value=value.replace(/[^\d]/g,'')" />
                                -
                                <input id="txtOneMon02" type="text" size="12" onkeyup="value=value.replace(/[^\d]/g,'')" />
                                元 </a><a>
                                    <input class="Grayinputbottom" id="btnSearch2" type="button" border="0" value="查 询" /></a>
                    <div style="clear: both">
                    </div>
                </div>
                <div class="Graycontentbox">
                    <ul>
                        <li>
                            <div class="block">
                                <div class="block_top">
                                    <span>
                                        <img alt="" src="/Images/bigicon0.png" width="14" height="14" /></span></div>
                                <div id="Map9" class="contentbox">
                                </div>
                                &nbsp;</div>
                        </li>
                        <li>
                            <div class="block">
                                <div class="block_top">
                                    <span>
                                        <img alt="" src="/Images/bigicon0.png" width="14" height="14" /></span></div>
                                <div id="Map10" class="contentbox">
                                </div>
                                &nbsp;</div>
                        </li>
                        <li>
                            <div class="block">
                                <div class="block_top">
                                    <span>
                                        <img alt="" src="/Images/bigicon0.png" width="14" height="14" /></span></div>
                                <div id="Map11" class="contentbox">
                                </div>
                                &nbsp;</div>
                        </li>
                    </ul>
                </div>
                <div style="clear: both">
                </div>
                <div class="tablebox">
                    <div class="tablebottom">
                        <div>
                            <%--<li class="Assessgraybox0"><span>--%>
                            <div style="width: 90%; border: solid 1px #dcdcd;">
                                <div id="divcontactlist" class="accordion_child0">
                                    <table class="tabler" id="hacker" cellspacing="0">
                                        <tr class="trbj">
                                            <td class="DmpData1">
                                                <a href="javascript:void(0);">客户号</a>
                                            </td>
                                            <td class="DmpData1">
                                                <a href="javascript:void(0);">交易日期</a>
                                            </td>
                                            <td class="DmpData1">
                                                <a href="javascript:void(0);">证劵代码</a>
                                            </td>
                                            <td class="DmpData1">
                                                <a href="javascript:void(0);">证劵类型</a>
                                            </td>
                                            <td class="DmpData1">
                                                <a href="javascript:void(0);">交易金额</a>
                                            </td>
                                            <td class="DmpData1">
                                                <a href="javascript:void(0);">交易渠道</a>
                                            </td>
                                            <td class="DmpData1">
                                                <a href="javascript:void(0);">交易类型</a>
                                            </td>
                                        </tr>
                                        <tbody id="search_result">
                                        </tbody>
                                        <tr>
                                            <td colspan="7" align="right">
                                                   <div id="pager_container" style="width:100%">
                                    </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div style="clear: both">
                            </div>
                            <%--</li>--%>
                        </div>
                        <input class="tablebottominput" id="ExPort" type="button" border="0" value="导出数据" /></div>
                </div>
            </div>
        </div>
        <div style="clear: both">
        </div>
        <div class="foot">
            <a>版权所有：深圳华策略科技有限公司</a></div>
    </div>
    </form>
</body>
</html>
